﻿using Futurism.Universal.Foundation;
using Microsoft.Practices.Prism.Commands;

namespace Futurism.Example.Shell
{
    [Export]
    public class ShellViewModel
    {
        public DelegateCommand NavigateToMaduleA { get; set; }

        public DelegateCommand NavigateToMaduleB { get; set; }

        [Import]
        public ShellViewModel(RegionManager regionManager)
        {
            NavigateToMaduleA = new DelegateCommand(() => regionManager.Navigate("Content", "PageA"));
            NavigateToMaduleB = new DelegateCommand(() => regionManager.Navigate("Content", "PageB"));
        }
    }
}
